import request from '@/utils/request'

export function createChannel(data) {
    return request({
        url: '/channel/create',
        method: 'post',
        data
    })
}

export function getAllCityList(data) {
    return request({
        url: '/channel/getAllCityList',
        method: 'post',
        data
    })
}

export function getChannelList(data) {
    return request({
        url: '/channel/getChannelList',
        method: 'post',
        data
    })
}
export function deleteChannel(data) {
    return request({
        url: '/channel/delete',
        method: 'post',
        data
    })
}

export function updateChannel(data) {
    return request({
        url: '/channel/update',
        method: 'post',
        data
    })
}



